<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/6/22
  Time: 19:48
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>病人婴儿</title>
    <jsp:include page="../includes/header.jsp"/>
    <link rel="stylesheet" type="text/css" href="../../static/assets/css/datatable.css">
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <jsp:include page="../includes/nav.jsp"/>

    <!-- Left side column. contains the logo and sidebar -->
    <jsp:include page="../includes/menu.jsp"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <section class="content-header">
            <h1>
                电子表单
            </h1>
            <br/>
            <small></small>
            <ol class="breadcrumb">
                <li><a href="main"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li class="active">病人婴儿</li>
            </ol>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">

                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">病人婴儿</h3>

                        </div>
                        <div class="box-body table-responsive">
                            <table id="dataTable" class="datatable table table-hover table-bordered">
                                <thead>
                                <tr>
                                    <th><input type="checkbox" class="minimal icheck_master"/></th>
                                    <th>住院病人id</th>
                                    <th>住院病人编号</th>
                                    <th>婴儿编号</th>
                                    <th>婴儿姓名</th>
                                    <th>婴儿id</th>
                                    <th>婴儿出生日期</th>
                                    <th>性别</th>
                                    <th>标志</th>
                                    <th>部门id</th>
                                    <th>出院状态</th>
    <th>出院日期</th>
                                    <th>出院诊断</th>
    <th>缴费日期</th>
    <th>缴费操作人员</th>
    <th>住院日期</th>

                                </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="#{emrpatientbaby}" var="info">
                                    <tr>
                                        <td><input id="${info.inpatientId}" type="checkbox" class="minimal"/></td>
                                        <td>${info.inpatientId}</td>
                                        <td>${info.inpatientNo}</td>
                                        <td>${info.babyNo}</td>
                                        <td>${info.babyname}</td>
                                        <td>${info.babyId}</td>
                                        <td>${info.birthday}</td>
                                        <td>${info.sex}</td>
                                        <td>${info.flag}</td>
                                        <td>${info.deptId} </td>
                                        <td>${info.outMode}</td>
                                        <td>${info.outDate}</td>
                                        <td>${info.outDiagnosis}</td>
                                    <td>${info.bookDate}</td>
                                    <td>${info.bookOper}</td>
                                    <td>${info.inDate}</td>

                                    </tr>
                                </c:forEach>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </section>

    </div>
    <jsp:include page="../includes/copyright.jsp"/>
</div>
<jsp:include page="../includes/footer.jsp"/>
    <script>
    $(function () {
    $("#dataTable").DataTable({
    "info":false,
    "paging":true,
    "lengthChange":false,
    "ordering":false,
    "searching":false,
    "severSide":true,
    "deferRender":true,
    });
    });
    </script>
</body>
</html>
